<%@ page language="java" pageEncoding="UTF-8"%>
<html>
<head>
<script language="javascript" src="${pageContext.request.contextPath }/pc/console/plugins/fckeditor/fckeditor.js"></script>
<script language="javascript" src="${pageContext.request.contextPath }/pc/console/js/jquery.js"></script>
<script type="text/javascript">
$(function(){
	//创建FCK的实例，参数为textarea的id
	var fck=new FCKeditor("mytest");
	//指定fck的根目录
	fck.BasePath="fckeditor/";
	//设置显示哪些按钮，不设置走默认
	//fck.ToolbarSet='Basic';
	//指定高
	fck.Height=400;
	//渲染
	fck.ReplaceTextarea();

})
</script>
</head>
  <body>
  	<textarea id="mytest"></textarea>
  </body>
  
<!--   <body>
    <form  name="frmList"  action="" enctype="multipart/form-data">
		<div align="center">
			<TABLE width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
				<TR>
				<TD valign="top" width="63%" height="100%">
				    <table width="100%" cellpadding="0">  
						<tr id="content1">
				            <td class="tdRight">
				           		<textarea id="ebreContent" name="ebreContent" rows="8" cols="52" class="ckeditor"></textarea>
				           		  <script type="text/javascript">
				           		  		if( CKEDITOR.instances['ebreContent'] ){    
						                   CKEDITOR.remove(CKEDITOR.instances['ebreContent']);    
						                }  //解决 例外被抛出且未被接住 问题
										CKEDITOR.replace("ebreContent",{ height: 200, width: 820 });
										//CKFinder.setupCKEditor(editor,'../ckfinder/');
								  </script>
				            </td>
				        </tr> 
					</table> 
				</TD>
				</TR>
			</TABLE>
		</div>
	</form>
  </body> -->
</html>